<template>
  <div class="cont1200 electic">
    <myGroup></myGroup>
    <myItemScreening></myItemScreening>
    <myItemDisplayList></myItemDisplayList>
    <myitemPagination></myitemPagination>
  </div>
</template>

<script type="text/ecmascript-6">
import myGroup from "../../components/Group/group";
import myItemDisplayList from "../../components/ItemDisplayList/ItemDisplayList";
import myItemScreening from "../../components/ItemDisplayList/ItemScreening";
import myitemPagination from "../../components/ItemDisplayList/itemPagination";

export default {
  data() {
    return {};
  },
  methods: {},
  components: {
    myGroup,
    myItemDisplayList,
    myItemScreening,
    myitemPagination
  },
  created: function() {
    this.$api.commonAPI.getElectricCars();
    console.log("开始搜索 父页面");
    //返回的分页数据
    this.$store.commit("pageUpdata", {
      total: 1000, //一共的数据
      list: [], //商品数据列表
      pageNum: 2, //当前页码
      pageSize: 20 //一页多少条数据
    });
    //返回电动车列表信息
  }
};
</script>
<style lang="scss" type="text/css" scoped>
@import "../../common/style.scss";
.electic {
  padding-top: 20px;
}
</style>
